﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Biciq.Silverlight.UI
{
    public class ManejoError:VistaModeloBase
    {
        #region campos
        private string _error;
        private string _imagen;
        private string _color;
        #endregion

        #region propiedades
        /// <summary>
        /// Color
        /// </summary>
        public string Color
        {
            get { return _color; }
            set
            {
                _color = value;
                RaisePropertyChanged("Color");
            }
        }
        /// <summary>
        /// Imagen del error
        /// </summary>
        public string Imagen
        {
            get { return _imagen; }
            set
            {
                _imagen = value;
                RaisePropertyChanged("Imagen");
            }
        }

        /// <summary>
        /// Texto del Error
        /// </summary>
        public string Error
        {
            get { return _error; }
            set
            {
                _error = value;
                RaisePropertyChanged("Error");
            }
        }
        #endregion

        #region constructores
        public ManejoError(string error)
        {
            this._error = error;
        }

        public ManejoError(string error, string imagen, string color)
        {
            this._error = error;
            this._color = color;
            this._imagen = imagen;
        }

        #endregion
    }
}
